﻿namespace Dcms.IDAL
{
    using Dcms.Model;
    using System;
    using System.Collections.Generic;
    using System.Data;

    public interface IDcms_LinkDAL
    {
        Dcms_LinkModel AddModel(Dcms_LinkModel model);
        bool CopyLink(int SourceCateID, int DestCateID);
        bool DeleteAllCheck(string AllID);
        void DeleteModelByID(int ID);
        string GetDataCount(string SqlStr);
        IList<Dcms_LinkModel> GetDataListByPage(string SqlStr, int CurPage, int PageSize);
        Dcms_LinkModel GetModelByID(int ID);
        DataSet GetModelList();
        Dcms_LinkModel GetNewModelByCatID(int CatID);
        bool MoveLink(int SourceCateID, int DestCateID);
        Dcms_LinkModel Update(Dcms_LinkModel model);
        bool UpdateState(string AllID, int StateValue);
    }
}

